package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document
public class PeachblossomCount implements Serializable {
  private ObjectId id;//主键自增Id
  private Long userId;//当前操作用户id
  private String date;//当日时间yyyyMMdd
  private Integer count;//当日接收数量
}
